package com.dnzx.service;

import com.dnzx.model.ArticleBO;
import org.dnzx.framework.page.PageResult;

import java.util.List;

/**
 * 文章管理
 */
public interface IArticleService {

	public void save(ArticleBO articleBO) throws Exception ;

	public void delete(Long id) throws Exception ;

	public void update(ArticleBO articleBO) throws Exception ;

	public ArticleBO get(Long id);

	public ArticleBO get(ArticleBO articleBO);

	public List<ArticleBO> queryList(ArticleBO articleBO);

	public PageResult<List<ArticleBO>> queryPage(ArticleBO articleBO, PageResult<List<ArticleBO>> pageResult);

}
